import {createApp} from 'vue'
import App from './App.vue'
const app=createApp(App);
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
// 引入国际化
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'

// Vue.use(ElementUI);
// Vue.config.productionTip = false


app.use(router).use(ElementPlus, {locale: zhCn,}).mount("#app");
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
